package com.weizhu.swufer.core.annotation;

import com.weizhu.swufer.constant.SwuferConstant;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Inherited
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface SwuferService {
    String service() default "";

    int qps() default SwuferConstant.DEFAULT_QPS;

    String group() default "default";

    String version() default "1.0.0";

    String type() default "server";

    int weight() default 1;

    String token() default "";

//    String use
}
